﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace SRAGWMCLib.OO
{
    /// <summary>
    /// Contains the values to fill the OutputType and the BackgroundColor after the CreateMapServer (Singleton)  
    /// </summary>
    public class SRAMapServer
    {

        /// <summary>
        /// Defines the type of the OutputFile to be displayed.
        /// NOTE: Depending on the value the output is different:
        /// 0 - ACGM16 - Default OutputType
        /// 1 - JPEG - doesnt allow tooltips and other features
        /// 2 - PNG - doesnt allow tooltips and other features
        /// 3 - SVGZ 
        /// 4 - SVG 
        /// 32 - ACGM32
        /// </summary>

        public int OutputType { get; set;}
    
        /// <summary>
        /// Sets the background color behind the map
        /// </summary>

        public Color BackgroundColor { get; set;}
     
        /// <summary>
        /// Fills teh SRAMapServer Class
        /// </summary>
        /// <param name="pOutputType">Sets the output type of the map</param>
        /// <param name="pBackgroundColor">Defines the background color of the map and features</param>

        public SRAMapServer(int pOutputType, Color pBackgroundColor) 
        {
            OutputType = pOutputType;
            BackgroundColor = pBackgroundColor;
        }
    }
}
